#ifndef __ADP_EXP_H__
#define __ADP_EXP_H__

enum 
{
	CP_OK = 0,
	CP_ERROR = -1,
	CP_OUT_BUFFER_TOO_SMALL	= -10,
};

EXTERN_C
HRESULT WINAPI RecUpdateRecId(
	UINT32 UniqID, LPCSTR aRecType, LPVOID vpData, UINT32 cbData );

EXTERN_C
INT	WINAPI RecCompileText(
	UINT32 UniqID, LPCSTR aRecType, LPCSTR NameRecord,
	LPCSTR TextContent, UINT32 TextLength, 
	LPVOID OutBuffer, UINT32* OutBufferSize, 
	LPSTR LogMessage, UINT32 LogMsgSize );

	
	
/*
	Json Style !
*/

EXTERN_C
LPVOID 	WINAPI JsonRecCompile( UINT32 UniqId, LPCSTR aJson );
EXTERN_C
VOID 	WINAPI JsonRecFree( LPVOID lpResult );
	
						  
#endif//_T2B_EXP_H_ 